package com.chx.mydubbo.consumer;

/**
 * @author 夏天
 * @date 2018/5/5 下午2:32
 * @Description: 模拟一个自定义注解的形式进行 dubbo远程调用
 */
@ChxFeginClient(ip = "127.0.0.1", port = 20880)
public interface HelloService {

    /**
     * @param name
     * @return
     * @Feign
     */
    @ChxDubboFegin(interfaceName = "com.chx.dubbo.HelloWorldDubboService", version = "1.0.0", methodName = "sayHello", paramsKeys = "Ljava/lang/String;", paramsValues = "chx")
    String sayHello(String name);

    String a();
}
